home *** CD-ROM | disk | FTP | other *** search
/ 501 Great Games / 501 Great Games - Volume One (2001)(Guildhall Leisure Services).iso / ROBOT BATTLE / SHELL.PRG < prev    next >
Text File  |  1995-03-16  |  897b  |  45 lines

  1. #############################################################################
  2. #                                  SHELL                                    #
  3. #                                                                           #
  4. # This robot does absolutely nothing. It is meant to be a starting point    #
  5. # for creating your own robots. The sections below are used by most robots. #
  6. # Add code and change names as needed to make your own robot!               #
  7. #                                                                           #
  8. #############################################################################
  9.  
  10.  
  11. Init
  12. {
  13.     Name( "Shell" )
  14.  
  15.     RegCore( Core )
  16.     RegCldMissile( MissileHit, 1 )
  17.     RegDtcRobot( FoundRobot, 2 )
  18.     RegAScan( AutoScan, 3 )
  19. }
  20.  
  21. AutoScan
  22. {
  23.     Scan()
  24. }
  25.  
  26. Core
  27. {
  28.  
  29. }  
  30.  
  31. MissileHit
  32. {    
  33.  
  34. }
  35.  
  36. FoundRobot
  37. {
  38.     Fire(1)
  39.     Scan()
  40. }
  41.  
  42. Dead
  43. {
  44.  
  45. }